<h1>New nagios_host_group</h1>

<%= error_messages_for :nagios_host_group %>

<% form_for(@nagios_host_group) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Host Templates</b><br />
    <%= f.collection_select("nagios_host_template_id", NagiosHostTemplate.find(:all, :order => :name), "id", "name", 
        {},{}) %>
  </p>

  <p>
    <b>Hosts</b><br />
    <%= f.text_area :hosts %>
  </p>


  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', nagios_host_groups_path %>
